module.exports = {
    publicPath: './',
    outputDir: '../java/src/main/resources/html',
    pages: {
        primary: {
            entry: './src/pages/primary/main.js',
            template: './public/index.html',
            filename: 'primary.html'
        },
        secondary: {
            entry: './src/pages/secondary/main.js',
            template: './public/index.html',
            filename: 'secondary.html'
        }
    },
    chainWebpack: () => {
        console.log("http://localhost:8080/primary.html")
        console.log("http://localhost:8080/secondary.html")
    },
}